package item.lxp.entity;


import item.lxp.annotation.TestAnnotation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private Integer userId;

    @NotBlank(message = "不能为null")
    private String openid;

//    @TestAnnotation
    private String nickname;


    private Integer sex;


    private String province;


    private String city;


    private String country;


    private String headimgurl;


    private String mobile;


    private Long createdTime;


    private BigDecimal price;


    private BigDecimal limitAmount;


    private BigDecimal frostAmount;


    private String unionid;


    private String wxOpenid;


    private static final long serialVersionUID = 1L;



}